﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PMS.DAL;
using PMS.Model;

namespace PMS.BLL
{
    public class Category
    {
        private readonly CategoryDAL categoryDAL = new CategoryDAL();
        public bool Insert(PMS.Model.Category category)
        {
            return categoryDAL.Insert(category);
        }
        public IList<Model.Category> GetList(string strWhere)
        {
            return categoryDAL.GetList();
        }
        public IList<Model.Category> GetAllList()
        {
            return GetList("");
        }
    }
}
